Automattic\Jetpack_Boost\Lib\Speed_Score S

Total Complexity 44
Dependencies 7
Dependents 1
Total lines 294
Lines of code 156
Logical lines of code 77
Comment lines 99
Methods 12
Properties 1

Methods 12

Method Rating Maintainability Complexity Lines of code
prepare_speed_score_response()
A
49 11 29
fetch_speed_score()
A
51 11 26
maybe_dispatch_no_boost_score_request()
A
51 8 25
dispatch_speed_score_request()
S
56 5 18
process_url_arg()
S
60 2 14
register_rest_routes()
S
57 1 20
__construct()
S
72 1 5
allow_jb_disable_module()
S
72 1 5
get_score_request_by_url()
S
75 1 5
get_boost_modules_disabled_url()
S
79 1 3
can_access_speed_scores()
S
80 1 3
clear_speed_score_request_cache()
S
82 1 3